package routers

import (
	"ssims/controllers"

	"github.com/gin-gonic/gin"
)

func generRouter(r *gin.RouterGroup) {
	r.GET("/gener", controllers.GetGener)
	r.GET("/gener1", controllers.GetGener)
	r.DELETE("/gener", controllers.DelGener)
	r.GET("/tongjir", controllers.GetNumbers)
	r.PUT("/gener", controllers.UpdateGener)
	r.POST("/gener", controllers.AddGener)
}
